Graphics.Width

Read-Only
The width in pixels of the parent object, typically a Canvas control or a Window. For example, if the graphics class object is in a Canvas control, Width returns the width of the control.

Syntax

Width as Integer